import request from '@/utils/request' 

export function copyApi(data) {
  return request({
    url: '/shipping/booking/copy',
    method: 'post',
    data:data
  })
}

export function cancelApi(data) {
  return request({
    url: '/shipping/booking/cancel',
    method: 'post',
    data:data
  })
}

export function historyApi(id) {
  return request({
    url: `/shipping/booking/history/${id}`,
    method: 'get'
  })
}